message(${CMAKE_SYSTEM_PROCESSOR})

file(GLOB RPMSGLITE_SOURCE 
    ${CMAKE_CURRENT_SOURCE_DIR}/*.c
)

include_directories(
    ${CMAKE_CURRENT_SOURCE_DIR}/include
)

add_library(rpmsglite OBJECT ${RPMSGLITE_SOURCE})

list(APPEND ALL_OBJECT_LIBRARYS rpmsglite)
set(ALL_OBJECT_LIBRARYS ${ALL_OBJECT_LIBRARYS} CACHE STRING INTERNAL FORCE)